<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>盒子阴影</title>
    <style>

        .box
        {   width: 100px;
            height: 100px;
            background-color: greenyellow;
            box-shadow: 10px 10px 5px #888888;
        }


        .text-shadow

        {
            color: white;
            font-size: 20px;
            font-weight: 800;
            text-shadow: 5px 5px 5px #FF0000;
        }


    </style>
</head>
<body>
<div class="box">
    <div class="text-shadow">hello world!</div>
</div>
</body>
</html>